//
//  UserProfileUpdateService.swift
//  User
//
//  Created by ET|冰琳 on 2017/1/9.
//  Copyright © 2017年 IB. All rights reserved.
//

import ReactiveSwift

public protocol UserProfileUpdateService {
    associatedtype UserProfileUpdateResult
    func update(user: [String: Any]?) -> SignalProducer<UserProfileUpdateResult  , NSError>
}

public protocol UserProfileGetService {
    associatedtype UserProfileGetResult
    func getProfile(crediatal: [String: Any]?) -> SignalProducer<UserProfileGetResult, NSError>
}

public typealias UserProfileService = UserProfileUpdateService & UserProfileGetService
